UCF STIG Viewer Logo

The vCenter STS service xpoweredBy attribute must be disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-258994 VCST-80-000140 SV-258994r934640_rule Medium
Description
Individual connectors can be configured to display the Tomcat information to clients. This information can be used to identify server versions that can be useful to attackers for identifying vulnerable versions of Tomcat. Individual connectors must be checked for the xpoweredBy attribute to ensure they do not pass server information to clients. The default value for xpoweredBy is "false".
STIG Date
VMware vSphere 8.0 vCenter Appliance Secure Token Service (STS) Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62734r934638_chk )
At the command prompt, run the following command:

# xmllint --xpath "//Connector/@xpoweredBy" /usr/lib/vmware-sso/vmware-sts/conf/server.xml

Example result:

XPath set is empty

If the "xpoweredBy" parameter is specified and is not "false", this is a finding.

If the "xpoweredBy" parameter does not exist, this is not a finding.
Fix Text (F-62643r934639_fix)
Navigate to and open:

/usr/lib/vmware-sso/vmware-sts/conf/server.xml

Navigate to the node and remove the "xpoweredBy" attribute.

Restart the service with the following command:

# vmon-cli --restart sts